Update to master
authorAlex Crichton <alex@alexcrichton.com>
Fri, 18 Jul 2014 14:40:15 +0000 (07:40 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 18 Jul 2014 14:40:15 +0000 (07:40 -0700)
libs/hamcrest-rust
libs/hammer.rs
libs/toml-rs
tests/support/mod.rs

index 60b649957b556c934929b7b6205ec95e20a2cd9e..05acf7681ab28198e5d7c1cc9561195de02d8d2a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 60b649957b556c934929b7b6205ec95e20a2cd9e
+Subproject commit 05acf7681ab28198e5d7c1cc9561195de02d8d2a
index fa1255d4ba109f82d1b0e8be61dde4ea70047be9..ce9e79abe94407abc155be13340d7a72ac5198d0 160000 (submodule)
@@ -1 +1 @@
-Subproject commit fa1255d4ba109f82d1b0e8be61dde4ea70047be9
+Subproject commit ce9e79abe94407abc155be13340d7a72ac5198d0
index 05f8c0bc41a10f1e98e420f8d02d778541d13d48..76cf3d1d3ef0fb21ade21d313d8b67b65ed7e8ac 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 05f8c0bc41a10f1e98e420f8d02d778541d13d48
+Subproject commit 76cf3d1d3ef0fb21ade21d313d8b67b65ed7e8ac
index 1b025d8157abb13d25c39656d44cf970f1799fac..227ccf2e79b18632aa90fba6a19451fd425a4d42 100644 (file)
@@ -241,17 +241,17 @@ struct Execs {
 
 impl Execs {
 
-    pub fn with_stdout<S: ToString>(mut ~self, expected: S) -> Box<Execs> {
+    pub fn with_stdout<S: ToString>(mut self, expected: S) -> Execs {
         self.expect_stdout = Some(expected.to_string());
         self
     }
 
-    pub fn with_stderr<S: ToString>(mut ~self, expected: S) -> Box<Execs> {
+    pub fn with_stderr<S: ToString>(mut self, expected: S) -> Execs {
         self.expect_stderr = Some(expected.to_string());
         self
     }
 
-    pub fn with_status(mut ~self, expected: int) -> Box<Execs> {
+    pub fn with_status(mut self, expected: int) -> Execs {
         self.expect_exit_code = Some(expected);
         self
     }
@@ -331,8 +331,8 @@ impl ham::Matcher<ProcessBuilder> for Execs {
     }
 }
 
-pub fn execs() -> Box<Execs> {
-    box Execs {
+pub fn execs() -> Execs {
+    Execs {
         expect_stdout: None,
         expect_stderr: None,
         expect_stdin: None,
@@ -362,8 +362,8 @@ impl<'a> ham::Matcher<&'a [u8]> for ShellWrites {
     }
 }
 
-pub fn shell_writes<T: Show>(string: T) -> Box<ShellWrites> {
-    box ShellWrites { expected: string.to_string() }
+pub fn shell_writes<T: Show>(string: T) -> ShellWrites {
+    ShellWrites { expected: string.to_string() }
 }
 
 pub trait ResultTest<T,E> {